package com.cdtu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName sights
 */
@TableName(value ="sights")
@Data
public class Sights implements Serializable {
    /**
     * 景点id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 景点名称
     */
    private String name;

    /**
     * 景点地址
     */
    private String address;

    /**
     * 景点描述
     */
    private String sightDesc;

    /**
     * 备注
     */
    private String remark;

    /**
     * 景点状态（0 未开放 1 开放）
     */
    private Integer sightStatus = 0;

    /**
     * 景点图片
     */
    private String image;

    private Integer checked = 0;

    private String refuseReason;

    private Long checkUser;
    private Long publishUser;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
